#!/usr/bin/env python

import glob, os
from distutils.core import setup, Extension

dnet = Extension('dnet',
                 # XXX - hrr, suk
                 [ os.path.realpath('@srcdir@/dnet.c') ],
                 include_dirs = [ '@top_srcdir@/include' ],
                 # XXX - hrr, suk
                 extra_objects = glob.glob('../src/.libs/*.o'))

setup(name='dnet',
      version='@VERSION@',
      description='low-level networking library',
      author='Dug Song',
      author_email='dugsong@monkey.org',
      url='http://libdnet.sourceforge.net/',
      ext_modules = [dnet])
